package cn.ticket.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.ticket.model.NewsSet;

public interface NewsSetMapper {
	 int deleteByPrimaryKey(Integer id);

	    int insert(NewsSet record);

	    int insertSelective(NewsSet record);

	    NewsSet selectByPrimaryKey(Integer id);

	    int updateByPrimaryKeySelective(NewsSet record);

	    int updateByPrimaryKey(NewsSet record);
    
    List<NewsSet> getAll();
    
    List<NewsSet> getByName(@Param("name")String name);
}